﻿<?xml version="1.0" encoding="utf-8"?>
<xs:schema id="PoliceDataSet" targetNamespace="http://tempuri.org/PoliceDataSet.xsd" xmlns:mstns="http://tempuri.org/PoliceDataSet.xsd" xmlns="http://tempuri.org/PoliceDataSet.xsd" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:msdata="urn:schemas-microsoft-com:xml-msdata" xmlns:msprop="urn:schemas-microsoft-com:xml-msprop" attributeFormDefault="qualified" elementFormDefault="qualified">
  <xs:annotation>
    <xs:appinfo source="urn:schemas-microsoft-com:xml-msdatasource">
      <DataSource DefaultConnectionIndex="0" FunctionsComponentName="QueriesTableAdapter" Modifier="AutoLayout, AnsiClass, Class, Public" SchemaSerializationMode="IncludeSchema" xmlns="urn:schemas-microsoft-com:xml-msdatasource">
        <Connections>
          <Connection AppSettingsObjectName="Settings" AppSettingsPropertyName="PoliceConnectionString" ConnectionStringObject="" IsAppSettingsProperty="True" Modifier="Assembly" Name="PoliceConnectionString (Settings)" ParameterPrefix="@" PropertyReference="ApplicationSettings.Manager.Properties.Settings.GlobalReference.Default.PoliceConnectionString" Provider="System.Data.SqlClient">
          </Connection>
        </Connections>
        <Tables>
          <TableAdapter BaseClass="System.ComponentModel.Component" DataAccessorModifier="AutoLayout, AnsiClass, Class, Public" DataAccessorName="ErrorLogTableAdapter" GeneratorDataComponentClassName="ErrorLogTableAdapter" Name="ErrorLog" UserDataComponentName="ErrorLogTableAdapter">
            <MainSource>
              <DbSource ConnectionRef="PoliceConnectionString (Settings)" DbObjectName="Police.dbo.ErrorLog" DbObjectType="Table" FillMethodModifier="Public" FillMethodName="Fill" GenerateMethods="Both" GenerateShortCommands="True" GeneratorGetMethodName="GetData" GeneratorSourceName="Fill" GetMethodModifier="Public" GetMethodName="GetData" QueryType="Rowset" ScalarCallRetval="System.Object, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="True" UserGetMethodName="GetData" UserSourceName="Fill">
                <DeleteCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="False">
                    <CommandText>DELETE FROM [dbo].[ErrorLog] WHERE (([ID] = @Original_ID) AND ((@IsNull_Date = 1 AND [Date] IS NULL) OR ([Date] = @Original_Date)))</CommandText>
                    <Parameters>
                      <Parameter AllowDbNull="False" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_ID" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="ID" SourceColumnNullMapping="False" SourceVersion="Original">
                      </Parameter>
                      <Parameter AllowDbNull="True" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_Date" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="Date" SourceColumnNullMapping="True" SourceVersion="Original">
                      </Parameter>
                      <Parameter AllowDbNull="True" AutogeneratedName="" DataSourceName="" DbType="DateTime" Direction="Input" ParameterName="@Original_Date" Precision="0" ProviderType="DateTime" Scale="0" Size="0" SourceColumn="Date" SourceColumnNullMapping="False" SourceVersion="Original">
                      </Parameter>
                    </Parameters>
                  </DbCommand>
                </DeleteCommand>
                <InsertCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="False">
                    <CommandText>INSERT INTO [dbo].[ErrorLog] ([Data], [Date]) VALUES (@Data, @Date);
SELECT ID, Data, Date FROM ErrorLog WHERE (ID = SCOPE_IDENTITY())</CommandText>
                    <Parameters>
                      <Parameter AllowDbNull="False" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@Data" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="Data" SourceColumnNullMapping="False" SourceVersion="Current">
                      </Parameter>
                      <Parameter AllowDbNull="True" AutogeneratedName="" DataSourceName="" DbType="DateTime" Direction="Input" ParameterName="@Date" Precision="0" ProviderType="DateTime" Scale="0" Size="0" SourceColumn="Date" SourceColumnNullMapping="False" SourceVersion="Current">
                      </Parameter>
                    </Parameters>
                  </DbCommand>
                </InsertCommand>
                <SelectCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="False">
                    <CommandText>SELECT ID, Data, Date FROM dbo.ErrorLog</CommandText>
                    <Parameters>
                    </Parameters>
                  </DbCommand>
                </SelectCommand>
                <UpdateCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="False">
                    <CommandText>UPDATE [dbo].[ErrorLog] SET [Data] = @Data, [Date] = @Date WHERE (([ID] = @Original_ID) AND ((@IsNull_Date = 1 AND [Date] IS NULL) OR ([Date] = @Original_Date)));
SELECT ID, Data, Date FROM ErrorLog WHERE (ID = @ID)</CommandText>
                    <Parameters>
                      <Parameter AllowDbNull="False" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@Data" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="Data" SourceColumnNullMapping="False" SourceVersion="Current">
                      </Parameter>
                      <Parameter AllowDbNull="True" AutogeneratedName="" DataSourceName="" DbType="DateTime" Direction="Input" ParameterName="@Date" Precision="0" ProviderType="DateTime" Scale="0" Size="0" SourceColumn="Date" SourceColumnNullMapping="False" SourceVersion="Current">
                      </Parameter>
                      <Parameter AllowDbNull="False" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_ID" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="ID" SourceColumnNullMapping="False" SourceVersion="Original">
                      </Parameter>
                      <Parameter AllowDbNull="True" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_Date" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="Date" SourceColumnNullMapping="True" SourceVersion="Original">
                      </Parameter>
                      <Parameter AllowDbNull="True" AutogeneratedName="" DataSourceName="" DbType="DateTime" Direction="Input" ParameterName="@Original_Date" Precision="0" ProviderType="DateTime" Scale="0" Size="0" SourceColumn="Date" SourceColumnNullMapping="False" SourceVersion="Original">
                      </Parameter>
                      <Parameter AllowDbNull="False" AutogeneratedName="ID" ColumnName="ID" DataSourceName="Police.dbo.ErrorLog" DataTypeServer="int" DbType="Int32" Direction="Input" ParameterName="@ID" Precision="0" ProviderType="Int" Scale="0" Size="4" SourceColumn="ID" SourceColumnNullMapping="False" SourceVersion="Current">
                      </Parameter>
                    </Parameters>
                  </DbCommand>
                </UpdateCommand>
              </DbSource>
            </MainSource>
            <Mappings>
              <Mapping SourceColumn="ID" DataSetColumn="ID" />
              <Mapping SourceColumn="Data" DataSetColumn="Data" />
              <Mapping SourceColumn="Date" DataSetColumn="Date" />
            </Mappings>
            <Sources>
            </Sources>
          </TableAdapter>
          <TableAdapter BaseClass="System.ComponentModel.Component" DataAccessorModifier="AutoLayout, AnsiClass, Class, Public" DataAccessorName="IncidentsTableAdapter" GeneratorDataComponentClassName="IncidentsTableAdapter" Name="Incidents" UserDataComponentName="IncidentsTableAdapter">
            <MainSource>
              <DbSource ConnectionRef="PoliceConnectionString (Settings)" DbObjectName="Police.dbo.Incidents" DbObjectType="Table" FillMethodModifier="Public" FillMethodName="Fill" GenerateMethods="Both" GenerateShortCommands="True" GeneratorGetMethodName="GetData" GeneratorSourceName="Fill" GetMethodModifier="Public" GetMethodName="GetData" QueryType="Rowset" ScalarCallRetval="System.Object, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="True" UserGetMethodName="GetData" UserSourceName="Fill">
                <DeleteCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="False">
                    <CommandText>DELETE FROM [dbo].[Incidents] WHERE (([IncidentID] = @Original_IncidentID) AND ((@IsNull_Injuries = 1 AND [Injuries] IS NULL) OR ([Injuries] = @Original_Injuries)) AND ([Vectims] = @Original_Vectims) AND ([Fire] = @Original_Fire) AND ([Address_No] = @Original_Address_No) AND ([Address_Street] = @Original_Address_Street) AND ([Address_Subarb] = @Original_Address_Subarb) AND ([IncidentType] = @Original_IncidentType) AND ([Param1] = @Original_Param1) AND ([Param2] = @Original_Param2) AND ([Reporter_Name] = @Original_Reporter_Name) AND ([Reporter_ID] = @Original_Reporter_ID) AND ([Date] = @Original_Date) AND ([ReportingDate] = @Original_ReportingDate) AND ([Covered] = @Original_Covered))</CommandText>
                    <Parameters>
                      <Parameter AllowDbNull="False" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_IncidentID" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="IncidentID" SourceColumnNullMapping="False" SourceVersion="Original">
                      </Parameter>
                      <Parameter AllowDbNull="True" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_Injuries" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="Injuries" SourceColumnNullMapping="True" SourceVersion="Original">
                      </Parameter>
                      <Parameter AllowDbNull="True" AutogeneratedName="" DataSourceName="" DbType="Boolean" Direction="Input" ParameterName="@Original_Injuries" Precision="0" ProviderType="Bit" Scale="0" Size="0" SourceColumn="Injuries" SourceColumnNullMapping="False" SourceVersion="Original">
                      </Parameter>
                      <Parameter AllowDbNull="False" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_Vectims" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="Vectims" SourceColumnNullMapping="False" SourceVersion="Original">
                      </Parameter>
                      <Parameter AllowDbNull="False" AutogeneratedName="" DataSourceName="" DbType="Boolean" Direction="Input" ParameterName="@Original_Fire" Precision="0" ProviderType="Bit" Scale="0" Size="0" SourceColumn="Fire" SourceColumnNullMapping="False" SourceVersion="Original">
                      </Parameter>
                      <Parameter AllowDbNull="False" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_Address_No" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="Address_No" SourceColumnNullMapping="False" SourceVersion="Original">
                      </Parameter>
                      <Parameter AllowDbNull="False" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@Original_Address_Street" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="Address_Street" SourceColumnNullMapping="False" SourceVersion="Original">
                      </Parameter>
                      <Parameter AllowDbNull="False" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@Original_Address_Subarb" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="Address_Subarb" SourceColumnNullMapping="False" SourceVersion="Original">
                      </Parameter>
                      <Parameter AllowDbNull="False" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@Original_IncidentType" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="IncidentType" SourceColumnNullMapping="False" SourceVersion="Original">
                      </Parameter>
                      <Parameter AllowDbNull="False" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_Param1" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="Param1" SourceColumnNullMapping="False" SourceVersion="Original">
                      </Parameter>
                      <Parameter AllowDbNull="False" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_Param2" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="Param2" SourceColumnNullMapping="False" SourceVersion="Original">
                      </Parameter>
                      <Parameter AllowDbNull="False" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@Original_Reporter_Name" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="Reporter_Name" SourceColumnNullMapping="False" SourceVersion="Original">
                      </Parameter>
                      <Parameter AllowDbNull="False" AutogeneratedName="" DataSourceName="" DbType="Int64" Direction="Input" ParameterName="@Original_Reporter_ID" Precision="0" ProviderType="BigInt" Scale="0" Size="0" SourceColumn="Reporter_ID" SourceColumnNullMapping="False" SourceVersion="Original">
                      </Parameter>
                      <Parameter AllowDbNull="False" AutogeneratedName="" DataSourceName="" DbType="DateTime" Direction="Input" ParameterName="@Original_Date" Precision="0" ProviderType="DateTime" Scale="0" Size="0" SourceColumn="Date" SourceColumnNullMapping="False" SourceVersion="Original">
                      </Parameter>
                      <Parameter AllowDbNull="False" AutogeneratedName="" DataSourceName="" DbType="DateTime" Direction="Input" ParameterName="@Original_ReportingDate" Precision="0" ProviderType="DateTime" Scale="0" Size="0" SourceColumn="ReportingDate" SourceColumnNullMapping="False" SourceVersion="Original">
                      </Parameter>
                      <Parameter AllowDbNull="False" AutogeneratedName="" DataSourceName="" DbType="Boolean" Direction="Input" ParameterName="@Original_Covered" Precision="0" ProviderType="Bit" Scale="0" Size="0" SourceColumn="Covered" SourceColumnNullMapping="False" SourceVersion="Original">
                      </Parameter>
                    </Parameters>
                  </DbCommand>
                </DeleteCommand>
                <InsertCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="False">
                    <CommandText>INSERT INTO [dbo].[Incidents] ([Injuries], [Vectims], [Fire], [Address_No], [Address_Street], [Address_Subarb], [IncidentType], [Param1], [Param2], [Reporter_Name], [Reporter_ID], [Date], [ReportingDate], [Covered]) VALUES (@Injuries, @Vectims, @Fire, @Address_No, @Address_Street, @Address_Subarb, @IncidentType, @Param1, @Param2, @Reporter_Name, @Reporter_ID, @Date, @ReportingDate, @Covered);
SELECT IncidentID, Injuries, Vectims, Fire, Address_No, Address_Street, Address_Subarb, IncidentType, Param1, Param2, Reporter_Name, Reporter_ID, Date, ReportingDate, Covered FROM Incidents WHERE (IncidentID = SCOPE_IDENTITY())</CommandText>
                    <Parameters>
                      <Parameter AllowDbNull="True" AutogeneratedName="" DataSourceName="" DbType="Boolean" Direction="Input" ParameterName="@Injuries" Precision="0" ProviderType="Bit" Scale="0" Size="0" SourceColumn="Injuries" SourceColumnNullMapping="False" SourceVersion="Current">
                      </Parameter>
                      <Parameter AllowDbNull="False" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Vectims" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="Vectims" SourceColumnNullMapping="False" SourceVersion="Current">
                      </Parameter>
                      <Parameter AllowDbNull="False" AutogeneratedName="" DataSourceName="" DbType="Boolean" Direction="Input" ParameterName="@Fire" Precision="0" ProviderType="Bit" Scale="0" Size="0" SourceColumn="Fire" SourceColumnNullMapping="False" SourceVersion="Current">
                      </Parameter>
                      <Parameter AllowDbNull="False" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Address_No" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="Address_No" SourceColumnNullMapping="False" SourceVersion="Current">
                      </Parameter>
                      <Parameter AllowDbNull="False" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@Address_Street" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="Address_Street" SourceColumnNullMapping="False" SourceVersion="Current">
                      </Parameter>
                      <Parameter AllowDbNull="False" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@Address_Subarb" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="Address_Subarb" SourceColumnNullMapping="False" SourceVersion="Current">
                      </Parameter>
                      <Parameter AllowDbNull="False" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@IncidentType" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="IncidentType" SourceColumnNullMapping="False" SourceVersion="Current">
                      </Parameter>
                      <Parameter AllowDbNull="False" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Param1" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="Param1" SourceColumnNullMapping="False" SourceVersion="Current">
                      </Parameter>
                      <Parameter AllowDbNull="False" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Param2" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="Param2" SourceColumnNullMapping="False" SourceVersion="Current">
                      </Parameter>
                      <Parameter AllowDbNull="False" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@Reporter_Name" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="Reporter_Name" SourceColumnNullMapping="False" SourceVersion="Current">
                      </Parameter>
                      <Parameter AllowDbNull="False" AutogeneratedName="" DataSourceName="" DbType="Int64" Direction="Input" ParameterName="@Reporter_ID" Precision="0" ProviderType="BigInt" Scale="0" Size="0" SourceColumn="Reporter_ID" SourceColumnNullMapping="False" SourceVersion="Current">
                      </Parameter>
                      <Parameter AllowDbNull="False" AutogeneratedName="" DataSourceName="" DbType="DateTime" Direction="Input" ParameterName="@Date" Precision="0" ProviderType="DateTime" Scale="0" Size="0" SourceColumn="Date" SourceColumnNullMapping="False" SourceVersion="Current">
                      </Parameter>
                      <Parameter AllowDbNull="False" AutogeneratedName="" DataSourceName="" DbType="DateTime" Direction="Input" ParameterName="@ReportingDate" Precision="0" ProviderType="DateTime" Scale="0" Size="0" SourceColumn="ReportingDate" SourceColumnNullMapping="False" SourceVersion="Current">
                      </Parameter>
                      <Parameter AllowDbNull="False" AutogeneratedName="" DataSourceName="" DbType="Boolean" Direction="Input" ParameterName="@Covered" Precision="0" ProviderType="Bit" Scale="0" Size="0" SourceColumn="Covered" SourceColumnNullMapping="False" SourceVersion="Current">
                      </Parameter>
                    </Parameters>
                  </DbCommand>
                </InsertCommand>
                <SelectCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="False">
                    <CommandText>SELECT IncidentID, Injuries, Vectims, Fire, Address_No, Address_Street, Address_Subarb, IncidentType, Param1, Param2, Reporter_Name, Reporter_ID, Date, ReportingDate, Covered FROM dbo.Incidents</CommandText>
                    <Parameters>
                    </Parameters>
                  </DbCommand>
                </SelectCommand>
                <UpdateCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="False">
                    <CommandText>UPDATE [dbo].[Incidents] SET [Injuries] = @Injuries, [Vectims] = @Vectims, [Fire] = @Fire, [Address_No] = @Address_No, [Address_Street] = @Address_Street, [Address_Subarb] = @Address_Subarb, [IncidentType] = @IncidentType, [Param1] = @Param1, [Param2] = @Param2, [Reporter_Name] = @Reporter_Name, [Reporter_ID] = @Reporter_ID, [Date] = @Date, [ReportingDate] = @ReportingDate, [Covered] = @Covered WHERE (([IncidentID] = @Original_IncidentID) AND ((@IsNull_Injuries = 1 AND [Injuries] IS NULL) OR ([Injuries] = @Original_Injuries)) AND ([Vectims] = @Original_Vectims) AND ([Fire] = @Original_Fire) AND ([Address_No] = @Original_Address_No) AND ([Address_Street] = @Original_Address_Street) AND ([Address_Subarb] = @Original_Address_Subarb) AND ([IncidentType] = @Original_IncidentType) AND ([Param1] = @Original_Param1) AND ([Param2] = @Original_Param2) AND ([Reporter_Name] = @Original_Reporter_Name) AND ([Reporter_ID] = @Original_Reporter_ID) AND ([Date] = @Original_Date) AND ([ReportingDate] = @Original_ReportingDate) AND ([Covered] = @Original_Covered));
SELECT IncidentID, Injuries, Vectims, Fire, Address_No, Address_Street, Address_Subarb, IncidentType, Param1, Param2, Reporter_Name, Reporter_ID, Date, ReportingDate, Covered FROM Incidents WHERE (IncidentID = @IncidentID)</CommandText>
                    <Parameters>
                      <Parameter AllowDbNull="True" AutogeneratedName="" DataSourceName="" DbType="Boolean" Direction="Input" ParameterName="@Injuries" Precision="0" ProviderType="Bit" Scale="0" Size="0" SourceColumn="Injuries" SourceColumnNullMapping="False" SourceVersion="Current">
                      </Parameter>
                      <Parameter AllowDbNull="False" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Vectims" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="Vectims" SourceColumnNullMapping="False" SourceVersion="Current">
                      </Parameter>
                      <Parameter AllowDbNull="False" AutogeneratedName="" DataSourceName="" DbType="Boolean" Direction="Input" ParameterName="@Fire" Precision="0" ProviderType="Bit" Scale="0" Size="0" SourceColumn="Fire" SourceColumnNullMapping="False" SourceVersion="Current">
                      </Parameter>
                      <Parameter AllowDbNull="False" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Address_No" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="Address_No" SourceColumnNullMapping="False" SourceVersion="Current">
                      </Parameter>
                      <Parameter AllowDbNull="False" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@Address_Street" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="Address_Street" SourceColumnNullMapping="False" SourceVersion="Current">
                      </Parameter>
                      <Parameter AllowDbNull="False" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@Address_Subarb" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="Address_Subarb" SourceColumnNullMapping="False" SourceVersion="Current">
                      </Parameter>
                      <Parameter AllowDbNull="False" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@IncidentType" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="IncidentType" SourceColumnNullMapping="False" SourceVersion="Current">
                      </Parameter>
                      <Parameter AllowDbNull="False" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Param1" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="Param1" SourceColumnNullMapping="False" SourceVersion="Current">
                      </Parameter>
                      <Parameter AllowDbNull="False" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Param2" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="Param2" SourceColumnNullMapping="False" SourceVersion="Current">
                      </Parameter>
                      <Parameter AllowDbNull="False" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@Reporter_Name" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="Reporter_Name" SourceColumnNullMapping="False" SourceVersion="Current">
                      </Parameter>
                      <Parameter AllowDbNull="False" AutogeneratedName="" DataSourceName="" DbType="Int64" Direction="Input" ParameterName="@Reporter_ID" Precision="0" ProviderType="BigInt" Scale="0" Size="0" SourceColumn="Reporter_ID" SourceColumnNullMapping="False" SourceVersion="Current">
                      </Parameter>
                      <Parameter AllowDbNull="False" AutogeneratedName="" DataSourceName="" DbType="DateTime" Direction="Input" ParameterName="@Date" Precision="0" ProviderType="DateTime" Scale="0" Size="0" SourceColumn="Date" SourceColumnNullMapping="False" SourceVersion="Current">
                      </Parameter>
                      <Parameter AllowDbNull="False" AutogeneratedName="" DataSourceName="" DbType="DateTime" Direction="Input" ParameterName="@ReportingDate" Precision="0" ProviderType="DateTime" Scale="0" Size="0" SourceColumn="ReportingDate" SourceColumnNullMapping="False" SourceVersion="Current">
                      </Parameter>
                      <Parameter AllowDbNull="False" AutogeneratedName="" DataSourceName="" DbType="Boolean" Direction="Input" ParameterName="@Covered" Precision="0" ProviderType="Bit" Scale="0" Size="0" SourceColumn="Covered" SourceColumnNullMapping="False" SourceVersion="Current">
                      </Parameter>
                      <Parameter AllowDbNull="False" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_IncidentID" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="IncidentID" SourceColumnNullMapping="False" SourceVersion="Original">
                      </Parameter>
                      <Parameter AllowDbNull="True" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_Injuries" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="Injuries" SourceColumnNullMapping="True" SourceVersion="Original">
                      </Parameter>
                      <Parameter AllowDbNull="True" AutogeneratedName="" DataSourceName="" DbType="Boolean" Direction="Input" ParameterName="@Original_Injuries" Precision="0" ProviderType="Bit" Scale="0" Size="0" SourceColumn="Injuries" SourceColumnNullMapping="False" SourceVersion="Original">
                      </Parameter>
                      <Parameter AllowDbNull="False" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_Vectims" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="Vectims" SourceColumnNullMapping="False" SourceVersion="Original">
                      </Parameter>
                      <Parameter AllowDbNull="False" AutogeneratedName="" DataSourceName="" DbType="Boolean" Direction="Input" ParameterName="@Original_Fire" Precision="0" ProviderType="Bit" Scale="0" Size="0" SourceColumn="Fire" SourceColumnNullMapping="False" SourceVersion="Original">
                      </Parameter>
                      <Parameter AllowDbNull="False" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_Address_No" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="Address_No" SourceColumnNullMapping="False" SourceVersion="Original">
                      </Parameter>
                      <Parameter AllowDbNull="False" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@Original_Address_Street" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="Address_Street" SourceColumnNullMapping="False" SourceVersion="Original">
                      </Parameter>
                      <Parameter AllowDbNull="False" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@Original_Address_Subarb" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="Address_Subarb" SourceColumnNullMapping="False" SourceVersion="Original">
                      </Parameter>
                      <Parameter AllowDbNull="False" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@Original_IncidentType" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="IncidentType" SourceColumnNullMapping="False" SourceVersion="Original">
                      </Parameter>
                      <Parameter AllowDbNull="False" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_Param1" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="Param1" SourceColumnNullMapping="False" SourceVersion="Original">
                      </Parameter>
                      <Parameter AllowDbNull="False" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_Param2" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="Param2" SourceColumnNullMapping="False" SourceVersion="Original">
                      </Parameter>
                      <Parameter AllowDbNull="False" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@Original_Reporter_Name" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="Reporter_Name" SourceColumnNullMapping="False" SourceVersion="Original">
                      </Parameter>
                      <Parameter AllowDbNull="False" AutogeneratedName="" DataSourceName="" DbType="Int64" Direction="Input" ParameterName="@Original_Reporter_ID" Precision="0" ProviderType="BigInt" Scale="0" Size="0" SourceColumn="Reporter_ID" SourceColumnNullMapping="False" SourceVersion="Original">
                      </Parameter>
                      <Parameter AllowDbNull="False" AutogeneratedName="" DataSourceName="" DbType="DateTime" Direction="Input" ParameterName="@Original_Date" Precision="0" ProviderType="DateTime" Scale="0" Size="0" SourceColumn="Date" SourceColumnNullMapping="False" SourceVersion="Original">
                      </Parameter>
                      <Parameter AllowDbNull="False" AutogeneratedName="" DataSourceName="" DbType="DateTime" Direction="Input" ParameterName="@Original_ReportingDate" Precision="0" ProviderType="DateTime" Scale="0" Size="0" SourceColumn="ReportingDate" SourceColumnNullMapping="False" SourceVersion="Original">
                      </Parameter>
                      <Parameter AllowDbNull="False" AutogeneratedName="" DataSourceName="" DbType="Boolean" Direction="Input" ParameterName="@Original_Covered" Precision="0" ProviderType="Bit" Scale="0" Size="0" SourceColumn="Covered" SourceColumnNullMapping="False" SourceVersion="Original">
                      </Parameter>
                      <Parameter AllowDbNull="False" AutogeneratedName="IncidentID" ColumnName="IncidentID" DataSourceName="Police.dbo.Incidents" DataTypeServer="int" DbType="Int32" Direction="Input" ParameterName="@IncidentID" Precision="0" ProviderType="Int" Scale="0" Size="4" SourceColumn="IncidentID" SourceColumnNullMapping="False" SourceVersion="Current">
                      </Parameter>
                    </Parameters>
                  </DbCommand>
                </UpdateCommand>
              </DbSource>
            </MainSource>
            <Mappings>
              <Mapping SourceColumn="IncidentID" DataSetColumn="IncidentID" />
              <Mapping SourceColumn="Injuries" DataSetColumn="Injuries" />
              <Mapping SourceColumn="Vectims" DataSetColumn="Vectims" />
              <Mapping SourceColumn="Fire" DataSetColumn="Fire" />
              <Mapping SourceColumn="Address_No" DataSetColumn="Address_No" />
              <Mapping SourceColumn="Address_Street" DataSetColumn="Address_Street" />
              <Mapping SourceColumn="Address_Subarb" DataSetColumn="Address_Subarb" />
              <Mapping SourceColumn="IncidentType" DataSetColumn="IncidentType" />
              <Mapping SourceColumn="Param1" DataSetColumn="Param1" />
              <Mapping SourceColumn="Param2" DataSetColumn="Param2" />
              <Mapping SourceColumn="Reporter_Name" DataSetColumn="Reporter_Name" />
              <Mapping SourceColumn="Reporter_ID" DataSetColumn="Reporter_ID" />
              <Mapping SourceColumn="Date" DataSetColumn="Date" />
              <Mapping SourceColumn="ReportingDate" DataSetColumn="ReportingDate" />
              <Mapping SourceColumn="Covered" DataSetColumn="Covered" />
            </Mappings>
            <Sources>
            </Sources>
          </TableAdapter>
        </Tables>
        <Sources>
        </Sources>
      </DataSource>
    </xs:appinfo>
  </xs:annotation>
  <xs:element name="PoliceDataSet" msdata:IsDataSet="true" msdata:UseCurrentLocale="true" msprop:Generator_UserDSName="PoliceDataSet" msprop:Generator_DataSetName="PoliceDataSet">
    <xs:complexType>
      <xs:choice minOccurs="0" maxOccurs="unbounded">
        <xs:element name="ErrorLog" msprop:Generator_UserTableName="ErrorLog" msprop:Generator_RowDeletedName="ErrorLogRowDeleted" msprop:Generator_TableClassName="ErrorLogDataTable" msprop:Generator_RowChangedName="ErrorLogRowChanged" msprop:Generator_RowClassName="ErrorLogRow" msprop:Generator_RowChangingName="ErrorLogRowChanging" msprop:Generator_RowEvArgName="ErrorLogRowChangeEvent" msprop:Generator_RowEvHandlerName="ErrorLogRowChangeEventHandler" msprop:Generator_TablePropName="ErrorLog" msprop:Generator_TableVarName="tableErrorLog" msprop:Generator_RowDeletingName="ErrorLogRowDeleting">
          <xs:complexType>
            <xs:sequence>
              <xs:element name="ID" msdata:ReadOnly="true" msdata:AutoIncrement="true" msprop:Generator_UserColumnName="ID" msprop:Generator_ColumnPropNameInRow="ID" msprop:Generator_ColumnVarNameInTable="columnID" msprop:Generator_ColumnPropNameInTable="IDColumn" type="xs:int" />
              <xs:element name="Data" msprop:Generator_UserColumnName="Data" msprop:Generator_ColumnPropNameInRow="Data" msprop:Generator_ColumnVarNameInTable="columnData" msprop:Generator_ColumnPropNameInTable="DataColumn">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="2147483647" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="Date" msprop:Generator_UserColumnName="Date" msprop:Generator_ColumnPropNameInRow="Date" msprop:Generator_ColumnVarNameInTable="columnDate" msprop:Generator_ColumnPropNameInTable="DateColumn" type="xs:dateTime" minOccurs="0" />
            </xs:sequence>
          </xs:complexType>
        </xs:element>
        <xs:element name="Incidents" msprop:Generator_UserTableName="Incidents" msprop:Generator_RowDeletedName="IncidentsRowDeleted" msprop:Generator_TableClassName="IncidentsDataTable" msprop:Generator_RowChangedName="IncidentsRowChanged" msprop:Generator_RowClassName="IncidentsRow" msprop:Generator_RowChangingName="IncidentsRowChanging" msprop:Generator_RowEvArgName="IncidentsRowChangeEvent" msprop:Generator_RowEvHandlerName="IncidentsRowChangeEventHandler" msprop:Generator_TablePropName="Incidents" msprop:Generator_TableVarName="tableIncidents" msprop:Generator_RowDeletingName="IncidentsRowDeleting">
          <xs:complexType>
            <xs:sequence>
              <xs:element name="IncidentID" msdata:ReadOnly="true" msdata:AutoIncrement="true" msprop:Generator_UserColumnName="IncidentID" msprop:Generator_ColumnPropNameInRow="IncidentID" msprop:Generator_ColumnVarNameInTable="columnIncidentID" msprop:Generator_ColumnPropNameInTable="IncidentIDColumn" type="xs:int" />
              <xs:element name="Injuries" msprop:Generator_UserColumnName="Injuries" msprop:Generator_ColumnPropNameInRow="Injuries" msprop:Generator_ColumnVarNameInTable="columnInjuries" msprop:Generator_ColumnPropNameInTable="InjuriesColumn" type="xs:boolean" minOccurs="0" />
              <xs:element name="Vectims" msprop:Generator_UserColumnName="Vectims" msprop:Generator_ColumnPropNameInRow="Vectims" msprop:Generator_ColumnVarNameInTable="columnVectims" msprop:Generator_ColumnPropNameInTable="VectimsColumn" type="xs:int" />
              <xs:element name="Fire" msprop:Generator_UserColumnName="Fire" msprop:Generator_ColumnPropNameInRow="Fire" msprop:Generator_ColumnVarNameInTable="columnFire" msprop:Generator_ColumnPropNameInTable="FireColumn" type="xs:boolean" />
              <xs:element name="Address_No" msprop:Generator_UserColumnName="Address_No" msprop:Generator_ColumnPropNameInRow="Address_No" msprop:Generator_ColumnVarNameInTable="columnAddress_No" msprop:Generator_ColumnPropNameInTable="Address_NoColumn" type="xs:int" />
              <xs:element name="Address_Street" msprop:Generator_UserColumnName="Address_Street" msprop:Generator_ColumnPropNameInRow="Address_Street" msprop:Generator_ColumnVarNameInTable="columnAddress_Street" msprop:Generator_ColumnPropNameInTable="Address_StreetColumn">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="50" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="Address_Subarb" msprop:Generator_UserColumnName="Address_Subarb" msprop:Generator_ColumnPropNameInRow="Address_Subarb" msprop:Generator_ColumnVarNameInTable="columnAddress_Subarb" msprop:Generator_ColumnPropNameInTable="Address_SubarbColumn">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="50" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="IncidentType" msprop:Generator_UserColumnName="IncidentType" msprop:Generator_ColumnPropNameInRow="IncidentType" msprop:Generator_ColumnVarNameInTable="columnIncidentType" msprop:Generator_ColumnPropNameInTable="IncidentTypeColumn">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="50" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="Param1" msprop:Generator_UserColumnName="Param1" msprop:Generator_ColumnPropNameInRow="Param1" msprop:Generator_ColumnVarNameInTable="columnParam1" msprop:Generator_ColumnPropNameInTable="Param1Column" type="xs:int" />
              <xs:element name="Param2" msprop:Generator_UserColumnName="Param2" msprop:Generator_ColumnPropNameInRow="Param2" msprop:Generator_ColumnVarNameInTable="columnParam2" msprop:Generator_ColumnPropNameInTable="Param2Column" type="xs:int" />
              <xs:element name="Reporter_Name" msprop:Generator_UserColumnName="Reporter_Name" msprop:Generator_ColumnPropNameInRow="Reporter_Name" msprop:Generator_ColumnVarNameInTable="columnReporter_Name" msprop:Generator_ColumnPropNameInTable="Reporter_NameColumn">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="50" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="Reporter_ID" msprop:Generator_UserColumnName="Reporter_ID" msprop:Generator_ColumnPropNameInRow="Reporter_ID" msprop:Generator_ColumnVarNameInTable="columnReporter_ID" msprop:Generator_ColumnPropNameInTable="Reporter_IDColumn" type="xs:long" />
              <xs:element name="Date" msprop:Generator_UserColumnName="Date" msprop:Generator_ColumnPropNameInRow="Date" msprop:Generator_ColumnVarNameInTable="columnDate" msprop:Generator_ColumnPropNameInTable="DateColumn" type="xs:dateTime" />
              <xs:element name="ReportingDate" msprop:Generator_UserColumnName="ReportingDate" msprop:Generator_ColumnPropNameInRow="ReportingDate" msprop:Generator_ColumnVarNameInTable="columnReportingDate" msprop:Generator_ColumnPropNameInTable="ReportingDateColumn" type="xs:dateTime" />
              <xs:element name="Covered" msprop:Generator_UserColumnName="Covered" msprop:Generator_ColumnPropNameInRow="Covered" msprop:Generator_ColumnVarNameInTable="columnCovered" msprop:Generator_ColumnPropNameInTable="CoveredColumn" type="xs:boolean" />
            </xs:sequence>
          </xs:complexType>
        </xs:element>
      </xs:choice>
    </xs:complexType>
    <xs:unique name="Constraint1" msdata:PrimaryKey="true">
      <xs:selector xpath=".//mstns:ErrorLog" />
      <xs:field xpath="mstns:ID" />
    </xs:unique>
    <xs:unique name="Incidents_Constraint1" msdata:ConstraintName="Constraint1" msdata:PrimaryKey="true">
      <xs:selector xpath=".//mstns:Incidents" />
      <xs:field xpath="mstns:IncidentID" />
    </xs:unique>
  </xs:element>
</xs:schema>